package com.boge.study.design_pattern.proxy.static_proxy.inherit;

public class CarTimeProxy extends CarServiceImpl {
	
	@Override
	public void move() {
		long startTime = System.currentTimeMillis();
		System.out.println("汽车开始行驶...");
		super.move();
		long endTime = System.currentTimeMillis();
		System.out.println("汽车结束行驶，行驶了" + (endTime - startTime) + "毫秒");
	}

}
